#!/bin/sh
echo $0: recompile binding
WD=`pwd`

JIBX_JAR=/mnt/win_c/data/jibx/lib/jibx-bind.jar
CLASSDIR=$1
CLASSPATH=$2
BINDING_FILE=$3

#cd ~/Projects/GT/AnyBindingSvn/build/classes/
cd $CLASSDIR

#/mnt/win_c/data/jdk1.6.0/bin/java -cp .:~/Projects/GT/AnyBindingSvn/dist/AnyBinding.jar -jar /mnt/win_c/data/jibx/lib/jibx-bind.jar ~/Projects/GT/AnyBindingSvn/binding.xml
/mnt/win_c/data/jdk1.6.0/bin/java -cp $CLASSPATH -jar $JIBX_JAR $BINDING_FILE

cd $WD